import request from '@/utils/request'

// 班前会
export function meetingList(query) {
  return request({
    url: '/app/meeting/list',
    method: 'get',
    params: query
  })
}
// 新增
export function meetingAdd(query) {
  return request({
    url: '/app/meeting/add',
    method: 'post',
    data: query
  })
}
// 修改
export function meetingEdit(query) {
  return request({
    url: '/app/meeting/edit',
    method: 'post',
    data: query
  })
}
// 删除
export function meetingRemove(id) {
    return request({
      url: '/app/meeting/' + id,
      method: 'delete'
    })
  }
// 查看签到人员
export function recordList(query) {
  return request({
    url: '/app/record/list',
    method: 'post',
    data: query
  })
}
// 签到
export function recordAdd(query) {
  return request({
    url: '/app/record/add',
    method: 'post',
    data: query
  })
}
// 导出
export function recordExport(query) {
  return request({
    url: '/app/record/export',
    method: 'post',
    data: query
  })
}



